import Actions from './actions';
export interface IMainReducer {
  isReady: boolean;
  isLoading?: boolean;
  showModel: boolean;
  isAquamarineMember: boolean;
  isCrystalMember: boolean;
  list: listDetail[];
  selected: number;
  customerId?: string;
}

export type listDetail = {
  oneBrandLogo: [];
  id: string;
  oneName: string;
  twoCategoryVOList: Detail[];
  oneImageSign: string;
  oneSlogan: string;
  enableStatus: number;
};

export type Detail = {
  id: string;
  twoName: string;
  twoSlogan: string;
  enableStatus: number;
};

export type ActionType = ReturnType<typeof Actions>;
export type IAllReducerProps = {
  main: IMainReducer;

  [name: string]: any;
};

//默认是全部的属性,可以自定义
export type IProps = IAllReducerProps & ActionType;

//create by moon https://github.com/creasy2010/moon
